/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.asset.purchaseApplyList.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fuyao.cloud.asset.entity.AssetPurchaseapply;
import com.fuyao.cloud.asset.entity.AssetPurchaseapplyList;
import com.fuyao.cloud.asset.vo.FyAssetPurchaseapplyListExcelVO;
import com.fuyao.cloud.asset.vo.apply.PurchaseapplyListPageVO;

import java.util.List;

/**
 * 采购申请清单
 *
 * @author 时间的朋友
 * @date 2021-11-22 13:58:57
 */
public interface AssetPurchaseapplyListService extends IService<AssetPurchaseapplyList> {

	/**
	 * 自定义导出
	 *
	 * @return
	 */
	List<FyAssetPurchaseapplyListExcelVO> listExcel(AssetPurchaseapplyList fyAssetPurchaseapplyList);

	/**
	 * 保存采或修改采购清单
	 *
	 * @param entity 采购申请单对象
	 */
	void saveOrUpdateApplyList(AssetPurchaseapply entity);

	/**
	 * 根据采购id查询明细数据
	 *
	 * @param purchaseapply 采购对象
	 * @return 列表信息
	 */
	List<PurchaseapplyListPageVO> listApplyPageVO(AssetPurchaseapply purchaseapply);


}
